package com.net.service;

import java.util.List;

import com.net.model.Category;

public interface CategoryService {

	public abstract boolean loadByCategoryName(String name) throws Exception;

	public abstract void add(Category u) throws Exception;

	public abstract List<Category> getCategories() throws Exception;
	
	public Category loadCategoryById(int id);
	
	public boolean delete(Category u);
	
	public void update(Category category);
	
	public List<Category> searchList(String param1, String param2, String param3);
}